<form name="siteCurrencyCalendarForm">
<div  ng-init="vm.init()" fs-aside>
	<fs-buttons fs-buttons-config="vm.layoutConfig.buttonConfigs.buttonGroup"></fs-buttons>
		
    <fs-grid-layout ng-model="vm.siteCurrencyCalendar" fs-config="vm.layoutConfig.formConfigs.general" fs-validator-config="vm.validatorConfig"></fs-grid-layout>
    
    <div class="panel-heading">{{'title.fgroup.calendar.yearInfo'|translate}}</div>
    
     <table style="border:0px;width:400px;margin-top: 10px;margin-bottom: 10px;">
		<tr>
			<td style="width:180px;"><label>Create New Year:</label></td>
			<td>
			    <input type="number" onkeyup="this.value =this.value.replace(/[^\d]/g,'') " name="points" min="1990" max="2100" ng-model="vm.siteCurrencyCalendar.calendarDay.year"  size="10"> 
			</td>
			<td style="width:180px;">
			    <button type="button" class="btn btn-link btn-sm" ng-click="vm.switchNewYearCalendar()">{{'button.text.go'|translate}}</button>
			    <button type="button" class="btn btn-link btn-sm" ng-click="vm.copyCurrencyCalendar()">{{'button.text.copy'|translate}}</button>
			</td>
		</tr>
	</table>
    
    <fs-grid-layout ng-model="vm.siteCurrencyCalendar" fs-config="vm.layoutConfig.formConfigs.holidays" fs-validator-config="vm.validatorConfig"></fs-grid-layout>
</div>
</form>